﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdvanceInquiry.aspx.cs"
    Inherits="CoolCode.Web.UI.Views.Inquiry.AdvanceInquiry" Theme="Default" %>

<%@ Register Src="~/Controls/ProductList.ascx" TagName="ProductList" TagPrefix="uc" %>
<%@ Register Src="~/Controls/ProductSummary.ascx" TagName="ProductSummary" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>高级查询</title>
</head>
<body>
    <form id="form1" runat="server">
    <ajaxToolkit:ToolkitScriptManager ID="tsmAjax" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Content/js/Common.js" />
        </Scripts>
    </ajaxToolkit:ToolkitScriptManager>
    <cc:Loading ID="Loading1" runat="server"></cc:Loading>
    <!--Title -->
    <div class="HeaderTitle">
        <asp:Label ID="SCRHDR" runat="server" Text="高级查询"></asp:Label>
    </div>
    <asp:Panel ID="pnlMaster" runat="server" CssClass="HeaderSearch">
        <table cellspacing="5" width="100%">
            <tr>
                <td align="right" style="width: 80px;">
                    <asp:Label ID="lblProductSpec" runat="server" Text="产品规格"></asp:Label>
                </td>
                <td align="left" style="width: 300px;">
                    <asp:TextBox ID="txtProductSpec" runat="server" CssClass="FlatTextBox" Width="200px"></asp:TextBox>
                </td>
                <td align="right" style="width: 80px;">
                    <asp:Label ID="lblCheckDate" runat="server" Text="检验时间"></asp:Label>
                </td>
                <td align="left" style="min-width:300px;">
                    <asp:Label ID="lblCheckDateFr" runat="server" Text="从"></asp:Label>&nbsp;
                    <cc:WebCalendar ID="cdrCheckDateFr" runat="server" Width="80px"></cc:WebCalendar>&nbsp;
                    <asp:Label ID="lblCheckDateTo" runat="server" Text="到"></asp:Label>&nbsp;
                    <cc:WebCalendar ID="cdrCheckDateTo" runat="server" Width="80px"></cc:WebCalendar>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 80px;">
                    <asp:Label ID="lblStatus" runat="server" Text="状态"></asp:Label>
                </td>
                <td align="left" style="width: 150px;">
                    <asp:DropDownList ID="ddlStatus" runat="server" Width="150px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 80px;">
                    <asp:Label ID="lblProductID" runat="server" Text="产品编号"></asp:Label>
                </td>
                <td align="left" style="width: 700px;" colspan="3">
                    <asp:TextBox ID="txtProductID" runat="server" CssClass="FlatTextBox" Width="700px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 80px;">
                    <asp:Label ID="lblOD" runat="server" Text="胶面远端外径"></asp:Label>
                </td>
                <td align="left" style="width: 300px;">
                    <cc:TextRange ID="rngODFar" runat="server"></cc:TextRange>
                </td>
                <td align="right" style="width: 80px;">
                    <asp:Label ID="Label1" runat="server" Text="胶面近端外径"></asp:Label>
                </td>
                <td align="left" style="width: 300px;">
                    <cc:TextRange ID="rngODClose" runat="server"></cc:TextRange>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 80px;">
                    <asp:Label ID="lblConeHeight" runat="server" Text="椎体高度"></asp:Label>
                </td>
                <td align="left" style="width: 300px;">
                    <cc:TextRange ID="rngConeHeight" runat="server"></cc:TextRange>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 80px;">
                    <asp:Label ID="lblSacculusLength" runat="server" Text="球囊长度"></asp:Label>
                </td>
                <td align="left" style="width: 300px;">
                    <cc:TextRange ID="rngSacculusLength" runat="server"></cc:TextRange>
                </td>
                <td align="right" style="width: 100px;">
                    <asp:Label ID="lblSacculusStretch" runat="server" Text="球囊伸长长度"></asp:Label>
                </td>
                <td align="left" style="width: 300px;">
                    <cc:TextRange ID="rngSacculusStretch" runat="server"></cc:TextRange>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 100px;">
                    <asp:Label ID="lblStressTest2" runat="server" Text="220KPa压力测试（外径）"></asp:Label>
                </td>
                <td align="left" style="width: 300px;">
                    <cc:TextRange ID="rngStressTest2" runat="server"></cc:TextRange>
                </td>
                <td align="right" style="width: 100px;">
                    <asp:Label ID="lblStressTestLength" runat="server" Text="220KPa压力测试（长度）"></asp:Label>
                </td>
                <td align="left" style="width: 300px;">
                    <cc:TextRange ID="rngStressTestLength" runat="server"></cc:TextRange>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <!--Grid-->
    <asp:UpdatePanel ID="udpHeader" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <div class="HeaderToolbar">
                <asp:LinkButton ID="lnkSearch" runat="server" CausesValidation="False" Text="搜索" />
                &nbsp; <a href="#" onclick="refresh();">刷新</a>&nbsp;
                <asp:HyperLink ID="lnkExportExcel" runat="server" Target="_blank" Text="导出Excel"></asp:HyperLink>&nbsp;&nbsp;
                <asp:HyperLink ID="lnkExcelSrc" runat="server" ForeColor="#ff6600" Target="_blank"
                    Visible="false"></asp:HyperLink>&nbsp;
            </div>
            <uc:ProductList ID="productList" runat="server" />
            <div style="clear: both;">
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdatePanel ID="udpSummary" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <uc:ProductSummary ID="productSummary" runat="server" />
            <div style="clear: both;">
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
